package builder.products;

public class Computer {
    private String board;
    private String cpu;
    private String ram;
    private String hardDisk;
    private String desktop;

    public String getBoard() {
        return board;
    }

    public void setBoard(String board) {
        this.board = board;
    }

    public String getCpu() {
        return cpu;
    }

    public void setCpu(String cpu) {
        this.cpu = cpu;
    }

    public String getRam() {
        return ram;
    }

    public void setRam(String ram) {
        this.ram = ram;
    }

    public String getHardDisk() {
        return hardDisk;
    }

    public void setHardDisk(String hardDisk) {
        this.hardDisk = hardDisk;
    }

    public String getDesktop() {
        return desktop;
    }

    public void setDesktop(String desktop) {
        this.desktop = desktop;
    }

    @Override
    public String toString() {
        return "Computer:" + "\n" +
                "\t主板='" + board + '\'' + "\n" +
                "\tCPU='" + cpu + '\'' + "\n" +
                "\t内存='" + ram + '\'' + "\n" +
                "\t硬盘='" + hardDisk + '\'' + "\n" +
                "\t显示屏='" + desktop + '\'';
    }
}
